package com.openlab.callsystem.enums;

public enum LoginStatus {
    ERROR(0,"帐号不存在或密码错误"),
    SUCCESS(1,"登录成功");

    private Integer value;

    private String message;

    LoginStatus(Integer value, String message) {
        this.value = value;
        this.message = message;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
